package rsb21424yhc.d1202YiChang;
public class demo02 {
    public static void main(String[] args) {
        int[] arr={1,2,3,4,5,6};
        System.out.println(arr);
    }
    public static StringBuffer printArr(int[] arr){
        StringBuffer str=new StringBuffer("[");
        for (int i=0;i<7;i++){
            str.append(arr[i]+",");
        }
        str.append("]");
        return str;
    }
}
